<?php
$jsonres = <<<EOD
var productJSON = {'product': [
{'name' : '物件名1'},
{'building' : '建物名1'},
{'address' : '5'}
]
};
alert(productJSON);
EOD;
echo $jsonres;
exit;
?>